Fix leak of result of gtk_container_get_children().
authorOwen Taylor <otaylor@redhat.com>
Tue, 8 Jan 2002 19:47:13 +0000 (19:47 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 8 Jan 2002 19:47:13 +0000 (19:47 +0000)
Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_add_events): Fix
leak of result of gtk_container_get_children().

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkwidget.c

index 08ad67acfc905b73a14c51b0a1f3955575b5f104..9311855e752c93950fe13efb018bb5992d0b714c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
+Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+       leak of result of gtk_container_get_children().
+
 Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktoolbar.c: Fix leaks of results of
-       gtk_container_get_children(). (#68199, Damon Chaplin.)
+       gtk_container_get_children(). (#68199, Damon Chaplin)
 
 Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>
 
index 08ad67acfc905b73a14c51b0a1f3955575b5f104..9311855e752c93950fe13efb018bb5992d0b714c 100644 (file)
@@ -1,7 +1,12 @@
+Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+       leak of result of gtk_container_get_children().
+
 Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktoolbar.c: Fix leaks of results of
-       gtk_container_get_children(). (#68199, Damon Chaplin.)
+       gtk_container_get_children(). (#68199, Damon Chaplin)
 
 Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>
 
index 08ad67acfc905b73a14c51b0a1f3955575b5f104..9311855e752c93950fe13efb018bb5992d0b714c 100644 (file)
@@ -1,7 +1,12 @@
+Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+       leak of result of gtk_container_get_children().
+
 Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktoolbar.c: Fix leaks of results of
-       gtk_container_get_children(). (#68199, Damon Chaplin.)
+       gtk_container_get_children(). (#68199, Damon Chaplin)
 
 Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>
 
index 08ad67acfc905b73a14c51b0a1f3955575b5f104..9311855e752c93950fe13efb018bb5992d0b714c 100644 (file)
@@ -1,7 +1,12 @@
+Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+       leak of result of gtk_container_get_children().
+
 Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktoolbar.c: Fix leaks of results of
-       gtk_container_get_children(). (#68199, Damon Chaplin.)
+       gtk_container_get_children(). (#68199, Damon Chaplin)
 
 Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>
 
index 08ad67acfc905b73a14c51b0a1f3955575b5f104..9311855e752c93950fe13efb018bb5992d0b714c 100644 (file)
@@ -1,7 +1,12 @@
+Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+       leak of result of gtk_container_get_children().
+
 Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktoolbar.c: Fix leaks of results of
-       gtk_container_get_children(). (#68199, Damon Chaplin.)
+       gtk_container_get_children(). (#68199, Damon Chaplin)
 
 Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>
 
index 08ad67acfc905b73a14c51b0a1f3955575b5f104..9311855e752c93950fe13efb018bb5992d0b714c 100644 (file)
@@ -1,7 +1,12 @@
+Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+       leak of result of gtk_container_get_children().
+
 Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktoolbar.c: Fix leaks of results of
-       gtk_container_get_children(). (#68199, Damon Chaplin.)
+       gtk_container_get_children(). (#68199, Damon Chaplin)
 
 Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>
 
index 08ad67acfc905b73a14c51b0a1f3955575b5f104..9311855e752c93950fe13efb018bb5992d0b714c 100644 (file)
@@ -1,7 +1,12 @@
+Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+       leak of result of gtk_container_get_children().
+
 Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktoolbar.c: Fix leaks of results of
-       gtk_container_get_children(). (#68199, Damon Chaplin.)
+       gtk_container_get_children(). (#68199, Damon Chaplin)
 
 Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>
 
index 495022d37394a2d0b8f51af349196f8766e7f9f1..2813e16fdc3e607e69f8afb18b16e304516fd988 100644 (file)
@@ -4915,6 +4915,8 @@ gtk_widget_add_events (GtkWidget *widget,
              if (user_data == widget)
                gdk_window_set_events (window, gdk_window_get_events (window) | events);
            }
+
+         g_list_free (children);
        }
       else
        {